package com.spit.fammo.bean.db

import androidx.room.ColumnInfo
import androidx.room.Entity
import androidx.room.PrimaryKey

/**
 * @Author nike
 * @Date 2023/7/28 10:22
 * @Description
 */
@Entity
data class AssetBean(

    @PrimaryKey(autoGenerate = true) // 自增主键
    var uid: Int = 0,

    @ColumnInfo(name = "userId")
    var userId: String? = null,

    @ColumnInfo(name = "assetno")
    var assetno: String? = null,

    @ColumnInfo(name = "assetCode")
    var assetCode: String? = null,

    @ColumnInfo(name = "name")
    var name: String? = null,

    @ColumnInfo(name = "brand")
    var brand: String? = null,

    @ColumnInfo(name = "model")
    var model: String? = null,

    @ColumnInfo(name = "spaceType")
    var spaceType: String? = null,

    @ColumnInfo(name = "spaceLoc")
    var spaceLoc: String? = null,

    @ColumnInfo(name = "categoryName")
    var categoryName: String? = null,

    @ColumnInfo(name = "serial")
    var serial: String? = null,

    @ColumnInfo(name = "deptName")
    var deptName: String? = null,

    @ColumnInfo(name = "otherLoc")
    var otherLoc: String? = null,

    @ColumnInfo(name = "assetType")
    var assetType: String? = null,

    @ColumnInfo(name = "epc")
    var epc: String? = "",

    @ColumnInfo(name = "stockTake")
    var stockTake: Boolean = false,

    @ColumnInfo(name = "statusid")
    var statusid: Int = 0,

    @ColumnInfo(name = "type")
    var type: Int = 0,

    @ColumnInfo(name = "scanStatus")
    var scanStatus: Int = 0,

    @ColumnInfo(name = "remarks")
    var remarks: String? = "",

    @ColumnInfo(name = "stocktakeno")
    var stocktakeno: String? = null,

    @ColumnInfo(name = "scanTime")
    var scanTime: String? = "",

    @ColumnInfo(name = "lastStockDate")
    var lastStockDate: String? = null,

    @ColumnInfo(name = "imageList")
    var imageList: String? = null,

    @ColumnInfo(name = "stocktakeName")
    var stocktakeName: String? = null,

    @ColumnInfo(name = "companyid")
    var companyid: String? = null,

    @ColumnInfo(name = "pic")
    var pic: String? = null,

    @ColumnInfo(name = "rono")
    var roNo: String? = null

)